You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Dew.Stats.Units Namespace > Classes > RegModels Class > RegModels Methods > RegModels.LogisticFit Method
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
RegModels.LogisticFit Method

Fits logistic equation to data.

Syntax
C#
Visual Basic
public static void LogisticFit([In] TVec B, [In] TVec X, [In] TVec Y, bool Constant, [In] TVec Weights);
Parameters 
Description 
[In] TVec B 
Returns regression coefficients for logistic function. 
[In] TVec X 
Vector of independent variable. 
[In] TVec Y 
Vector of dependent variable. 
bool Constant 
If false, B[0] i.e. constant term in nominator is set to 0.0. 
[In] TVec Weights 
Weights (optional). Weights are used only if they are set. 

The routine fits equations to data by minimizing the sum of squared residuals. The observed values obey the following equation: 

 

 

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!